package ch03;

public class p49_4_2 {
	public static void main (String args[]) {
		int i=2,j;
		for(;i<=100;i++) {
			int t=i/2;
			for(j=2;j<=t;j++) {
				if(i%j==0) break;
			}
			if(j>t) System.out.println(i);
		}
	}
}
